:root {
  --blue-logo: #143deb;
  --purple-main: #9400d3;
  --white-bg: #fafafa;
  --navy: #061669;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--white-bg);
  color: #333;
}

.container {
  max-width: 1100px; /* Dipersempit sedikit agar box lebih proporsional */
  margin: 0 auto;
  padding: 0 25px;
}

/* HEADER */
.gallery-section { padding: 100px 0; }
.gallery-header { text-align: center; margin-bottom: 60px; }
.category-tag {
  background: rgba(148, 0, 211, 0.1);
  color: var(--purple-main);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--navy);
  margin: 20px 0;
}
.purple-text { color: var(--purple-main); }

/* GRID */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

/* CARD BOX */
.article-card {
  height: 100%;
}

.card-box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.02);
}

.card-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(20, 61, 235, 0.1);
  border-color: var(--purple-main);
}

/* POSTER 4:5 */
.poster-area {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* RASIO KUNCI */
  overflow: hidden;
}

.poster-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-box:hover .poster-area img {
  transform: scale(1.1);
}

/* BADGE */
.badge-new {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--blue-logo);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* CONTENT */
.content-area {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--purple-main);
  margin-bottom: 10px;
  display: block;
}
.label.blue { color: var(--blue-logo); }

.content-area h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

.content-area p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-action {
  margin-top: auto;
  text-decoration: none;
  background: var(--purple-main);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: 0.3s;
}

.btn-action:hover {
  background: var(--blue-logo);
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
  .title { font-size: 2.2rem; }
  .article-grid {
    grid-template-columns: 1fr; /* 1 Kolom di HP */
    padding: 0 10px;
  }
  .poster-area {
    max-height: 350px; /* Mencegah gambar terlalu raksasa di HP */
  }
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}



/* Kajian 1 CSS */
:root {
  --blue-logo: #143deb;
  --purple-main: #9400d3;
  --navy: #061669;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f4f7f6;
  color: #2d3436;
}

.single-article-container {
  max-width: 900px;
  margin: 150px auto 60px; 
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.article-reader-box {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* 1. POSTER AREA */
.full-poster-wrapper {
  position: relative;
  width: 100%;
}

.full-poster-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.category-badge {
  position: absolute;
  bottom: 20px;
  left: 30px;
  background: var(--purple-main);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* 2. HEADER */
.article-header {
  padding: 40px 50px 20px;
  text-align: center;
}

.playfair {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-date {
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
}

/* 3. CONTENT */
.article-content {
  padding: 0 50px 40px;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: justify;
  color: #333;
}

/* 4. DOKUMENTASI */
.documentation-section {
  padding: 0 50px 40px;
}

.doc-title {
  font-family: 'Playfair Display', serif;
  border-left: 5px solid var(--purple-main);
  padding-left: 15px;
  margin-bottom: 20px;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.doc-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 5. FOOTER DEPARTEMEN */
.article-footer-info {
  background: #f9f9fb;
  padding: 40px 50px;
  border-top: 1px solid #eee;
  text-align: center;
}

.dept-box h4 {
  color: var(--navy);
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.dept-box p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .article-header, .article-content, .documentation-section, .article-footer-info {
    padding: 30px 25px;
  }
  .playfair { font-size: 1.6rem; }
  .doc-grid { grid-template-columns: 1fr; }
}

/* AREA NAVIGASI (TOMBOL KEMBALI) */
.navigation-area {
  padding: 20px 50px 40px;
  display: flex;
  justify-content: center;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background-color: transparent;
  color: var(--navy);
  padding: 12px 25px;
  border: 2px solid var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: var(--navy);
  color: white;
  transform: translateX(-5px); /* Sedikit bergerak ke kiri saat hover */
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
  .navigation-area {
    padding: 20px 25px 30px;
  }
  .btn-back {
    width: 100%;
    justify-content: center;
  }
}